package cn.micro.keep.accounts.service;

import cn.micro.keep.accounts.entity.AccountOdsRecordImg;
import cn.micro.keep.accounts.mybatis.IBasicService;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.UnsupportedEncodingException;

/**
 * <p>
 * 账单图片信息表 服务类
 * </p>
 *
 * @author 柘阳科技
 * @since 2023-11-08
 */
public interface AccountOdsRecordImgService extends IBasicService<AccountOdsRecordImg> {

    boolean uploadRecordImg(MultipartFile[] files);

    boolean removeRecordImg(Long imgId);

    void viewRecordImg(Long imgId, HttpServletRequest request, HttpServletResponse response) throws UnsupportedEncodingException;
}
